# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: Ngô Ngọc Đức Huy <huyngo@disroot.org>
pkgname=libmaa
pkgver=1.4.7
pkgrel=0
pkgdesc="Provides many low-level data structures which are helpful for writing compilers"
url="https://sourceforge.net/projects/dict/"
arch="all"
license="MIT"
makedepends="mk-configure"
subpackages="$pkgname-dev $pkgname-doc"
source="https://downloads.sourceforge.net/dict/libmaa-$pkgver.tar.gz"
options="!check" # flaky test

build() {
	mkcmake PREFIX=/usr
}

check() {
	mkcmake test PREFIX=/usr
}

package() {
	mkcmake install PREFIX=/usr DESTDIR="$pkgdir"
}

sha512sums="
6aa0ec6de92d9512152116a2698f5e7d3166631832968d2b7942b8564a4d61ef6eaf304d863e682758636e55a0c5d26fde49db028b18c160abb2286683e8478b  libmaa-1.4.7.tar.gz
"
